public class DemoWhile {
	public static void main(String[] arg) {
		int i = 1;
		while(i<=10) {
			System.out.println("第"+i+"行，好好学习，天天向上！");
			i++;
		}
		
		System.out.println("i="+i);
	}
}